package com.alibaba.service;

import com.alibaba.domain.User;

import java.util.List;

public interface UserService {
    //查询所有
    List<User> findAll();
    //添加用户
    int save(User user);
    //删除用户
    void deleteByIds(Integer[] ids);
    //根据id查询用户
    User findById(String uid);
    //修改用户
    void update(User user);
}
